Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
Loading…
The heist was a success, you got the Gauntlets of enlarge! They fit perfectly in your hands. Now all you have to do is escape this damn fortress and sell this rare magical item for a lot of gold coins, and you will be done with missions like this.
[[Start|Room1]]
<<link "Credits">><<run Dialog.setup("Credits"); Dialog.wiki(Story.get("Credits").processText()); Dialog.open()>><</link>><<widget "obj">>\
<<for _n to 0; _n lt $roominv.length; _n++>>
<<if $roominv[_n] is "Hammer" and $ham is 0>>A sundered <<link "hammer">><<hammer>><</link>> lies in the floor. <</if>>\
<<if $roominv[_n] is "Hammer" and $ham is 1>>A huge sundered <<link "hammer">><<hammer>><</link>> lies in the floor. <</if>>\
<<if $roominv[_n] is "Hammer" and $ham is 2>>A tiny sundered <<link "hammer">><<hammer>><</link>> lies in the floor. <</if>>\
<</for>>\
<</widget>>
<<widget "verbs">>\
<<replace "#verbs1">>\
<<if $vs is 1>>''[Look at]''<<else>><<link "Look at">><<set $vs to 1>><<verbs>><</link>><</if>>
<<if $vs is 2>>''[Go to]''<<else>><<link "Go to">><<set $vs to 2>><<verbs>><</link>><</if>>
<<if $vs is 3>>''[Pick up]''<<else>><<link "Pick up">><<set $vs to 3>><<verbs>><</link>><</if>>
<<if $vs is 4>>''[Use]''<<else>><<link "Use">><<set $vs to 4>><<verbs>><</link>><</if>>
<<if $vs is 5>>''[Drop]''<<else>><<link "Drop">><<set $vs to 5>><<verbs>><</link>><</if>>
<</replace>>\
<<replace "#verbs2">>\
<<if $vs is 6>>''[Talk to]''<<else>><<link "Talk to">><<set $vs to 6>><<verbs>><</link>><</if>>
<<if $vs is 7>>''[Give]''<<else>><<link "Give">><<set $vs to 7>><<verbs>><</link>><</if>>
<<if $vs is 8>>''[Hit]''<<else>><<link "Hit">><<set $vs to 8>><<verbs>><</link>><</if>>
<<if $vs is 9>>''[Enlarge]''<<else>><<link "Enlarge">><<set $vs to 9>><<verbs>><</link>><</if>>
<<if $vs is 10>>''[Reduce]''<<else>><<link "Reduce">><<set $vs to 10>><<verbs>><</link>><</if>>
<</replace>>\
<<replace "#inv1">>\
Inventory:
<<if $inv[0] is "Gauntlets of enlarge">><<link "Gauntlets of enlarge">><<gauntlets>><</link>><</if>>
<<if $inv[1] is "Hammer">><<if $ham is 0>><<link "Hammer">><<hammer>><</link>>\
<<elseif $ham is 1>><<link "Huge hammer">><<hammer>><</link>><<elseif $ham is 2>><<link "Tiny hammer">><<hammer>><</link>><</if>><</if>>
<</replace>>\
<<replace "#me">>\
<<link "Me">><<me>><</link>>
<</replace>>\
<</widget>>
<<widget "me">>\
<<if $vs is 1>><<replace "#line1" t8n>><<= "As good looking as ever.">><</replace>>\
<<elseif $vs is 6>><<replace "#line1" t8n>><<= "Talking to yourself is a sign of loneliness.">><</replace>>\
<<elseif $vs is 8>><<replace "#line1" t8n>><<= "Ouch!">><</replace>>\
<<else>><<replace "#line1" t8n>><<= "You can't do that.">><</replace>><</if>>\
<</widget>>
<<widget "gauntlets">>\
<<if $vs is 1>><<replace "#line1" t8n>><<= "These magical gauntlets can enlarge common objects to twice it's normal size, or reduce it's size to half. It doesn't affect living creatures. You don't know how many times you can use it or how long the transformation lasts, but it may come in handy.">><</replace>>\
<<elseif $vs is 3>><<replace "#line1" t8n>><<= "You already have it.">><</replace>>\
<<elseif $vs is 4>><<replace "#line1" t8n>><<= "To use the gauntlets, select either Enlarge or Reduce in the verbs list and then click on a object.">><</replace>>\
<<elseif $vs is 5 or $vs is 8>><<replace "#line1" t8n>><<= "Why would you do that?">><</replace>>\
<<elseif $vs is 6>><<replace "#line1" t8n>><<= "Hello? Hum.... Strange, no response.">><</replace>>\
<<elseif $vs is 7>><<replace "#line1" t8n>><<= "Better stick with this item for now.">><</replace>>\
<<else>><<replace "#line1" t8n>><<= "You can't do that.">><</replace>><</if>>\
<</widget>>
<<widget "hammer">>\
<<if $vs is 1>><<if $ham is 0>><<replace "#line1" t8n>><<= "This well crafted iron hammer has seen better days. A crack in it's head indicates it is about to break.">><</replace>>\
<<elseif $ham is 1>><<replace "#line1" t8n>><<= "The hammer is huge!">><</replace>><<elseif $ham is 2>><<replace "#line1" t8n>><<= "It's a tiny hammer.">><</replace>><</if>>\
<<elseif $vs is 3>><<if $roominv.includes("Hammer") and $ham is 0>><<set $inv[1] to "Hammer">><<run $roominv.delete("Hammer")>>\
<<replace "#obj" t8n>><<obj>><</replace>><<verbs>><<replace "#line1" t8n>><<= "You now have the hammer.">><</replace>>\
<<elseif $roominv.includes("Hammer") and $ham is 1>><<replace "#line1" t8n>><<= "The huge hammer is too heavy for you to carry.">><</replace>>\
<<elseif $roominv.includes("Hammer") and $ham is 2>><<set $inv[1] to "Hammer">><<run $roominv.delete("Hammer")>><<replace "#obj" t8n>><<obj>><</replace>><<verbs>>\
<<replace "#line1" t8n>><<= "You now have the tiny hammer.">><</replace>>\
<<elseif $inv.includes("Hammer")>><<replace "#line1" t8n>><<= "You already have it.">><</replace>><</if>>\
<<elseif $vs is 4 and $inv.includes("Hammer")>><<replace "#line1" t8n>><<= "You have the hammer ready to hit something.">><</replace>>\
<<elseif $vs is 5 and $inv.includes("Hammer")>><<run $roominv.push("Hammer")>><<run $inv.delete("Hammer")>><<replace "#obj" t8n>><<obj>><</replace>><<verbs>><<replace "#line1" t8n>><<= "You drop the hammer.">><</replace>>\
<<elseif $vs is 6>><<replace "#line1" t8n>><<= "Hello? Hum.... Strange, no response.">><</replace>>\
<<elseif $vs is 7>><<if $inv.includes("Hammer")>><<replace "#line1" t8n>><<= "Better stick with this item for now.">><</replace>><<else>>\
<<replace "#line1" t8n>><<= "You don't have it.">><</replace>><</if>>\
<<elseif $vs is 8>><<replace "#line1" t8n>><<= "Ouch!">><</replace>>\
<<elseif $vs is 9>><<if $ham is 0>><<set $ham to 1>><<if $inv.includes("Hammer")>><<run $roominv.push("Hammer")>><<run $inv.delete("Hammer")>>\
<<replace "#line1" t8n>><<= "You use the gauntlets to enlarge the hammer. It's huge now, but too heavy for you to carry, so you drop it.">><</replace>>\
<<else>><<replace "#line1" t8n>><<= "You use the gauntlets to enlarge the hammer. It's huge now!">><</replace>><</if>><<replace "#obj" t8n>><<obj>><</replace>><<verbs>>\
<<elseif $ham is 1>><<replace "#line1" t8n>><<= "It's already enlarged.">><</replace>>\
<<elseif $ham is 2>><<set $ham to 0>><<replace "#obj" t8n>><<obj>><</replace>><<verbs>>\
<<replace "#line1" t8n>><<= "The hammer is back to normal size.">><</replace>><</if>>\
<<elseif $vs is 10>><<if $ham is 0>><<set $ham to 2>><<replace "#obj" t8n>><<obj>><</replace>><<verbs>>\
<<replace "#line1" t8n>><<= "You use the gauntlets to reduce the hammer. It's tiny now!">><</replace>>\
<<elseif $ham is 2>><<replace "#line1" t8n>><<= "It's already reduced.">><</replace>>\
<<elseif $ham is 1>><<set $ham to 0>><<replace "#obj" t8n>><<obj>><</replace>><<verbs>>\
<<replace "#line1" t8n>><<= "The hammer is back to normal size.">><</replace>><</if>>\
<<else>><<replace "#line1" t8n>><<= "You can't do that.">><</replace>><</if>>\
<</widget>>
<<widget "door1">>\
<<if $vs is 1>><<replace "#line1" t8n>><<= "It's the stone door that leads to the throne room. It's adorned with dwarven royal symbols.">><</replace>>\
<<elseif $vs is 2 or $vs is 4>><<replace "#line1" t8n>><<= "You just came through that door, you can't go back there. The exit is lies further ahead to the north. Besides, the throne room is now full of deadly traps that got activated as soon as you looted the old king's corpse. You escaped alive, but you lost all your possessions to secure the gauntlets.">><</replace>>\
<<elseif $vs is 6>><<replace "#line1" t8n>><<= "Hello? Hum.... Strange, no response.">><</replace>>\
<<elseif $vs is 8>><<replace "#line1" t8n>><<= "Take that, stupid door!">><</replace>>\
<<else>><<replace "#line1" t8n>><<= "You can't do that.">><</replace>><</if>>\
<</widget>>
<<widget "room1">>\
<<if $vs is 1>><<if $room is 1>><<replace "#line1" t8n>><<= "A narrow shaft falls into the room from above, and a faded and torn tapestry hangs from the south wall. The tapestry bears the signs of an ancient dwarf king, from whose long dead hands you took the magic gauntlets you are now wearing. The walls of this whole place are made of natural stone and the floor is made of uneven flagstone, which makes it difficult to run. Also, the illumination comes from phosphorescent fungus, but as long as the effects of the cat vision potion remains, you will be able to see perfectly.">><</replace>><<else>><<replace "#line1" t8n>><<= "It's the room you were before.">><</replace>><</if>>\
<<elseif $vs is 2>><<if $room is 1>><<replace "#line1" t8n>><<= "You are already in the room.">><</replace>><<else>><<out>><<set $room to 1>><<goto "Room1">><</if>>\
<<elseif $vs is 6>><<replace "#line1" t8n>><<= "Hello? Hum.... Strange, no response.">><</replace>>\
<<elseif $vs is 8>><<replace "#line1" t8n>><<= "Take that!">><</replace>>\
<<else>><<replace "#line1" t8n>><<= "You can't do that.">><</replace>><</if>>\
<</widget>>
<<widget "room2">>\
<<if $vs is 1>><<if $room is 2>><<replace "#line1" t8n>><<= "A jingling sound fills the room, coming from small bells hanging from the ceiling.">><</replace>><<else>><<replace "#line1" t8n>><<= "It looks well lighted. You can hear jingling sounds coming from the room.">><</replace>><</if>>\
<<elseif $vs is 2>><<if $room is 2>><<replace "#line1" t8n>><<= "You are already in the room.">><</replace>><<else>><<out>><<set $room to 2>><<goto "Room2">><</if>>\
<<elseif $vs is 6>><<replace "#line1" t8n>><<= "Hello? Hum.... Strange, no response.">><</replace>>\
<<elseif $vs is 8>><<replace "#line1" t8n>><<= "Take that!">><</replace>>\
<<else>><<replace "#line1" t8n>><<= "You can't do that.">><</replace>><</if>>\
<</widget>>
<<widget "room3">>\
<<if $vs is 1>><<if $room is 3>><<replace "#line1" t8n>><<= "The floor is covered with dried blood and rotten human bones.">><</replace>><<else>><<replace "#line1" t8n>><<= "An overwhelming stench comes from the narrow and dark corridor, and several corroded iron spikes fill both the east and west walls.">><</replace>><</if>>\
<<elseif $vs is 2>><<if $room is 3>><<replace "#line1" t8n>><<= "You are already here.">><</replace>><<else>><<out>><<set $room to 3>><<goto "Room3">><</if>>\
<<elseif $vs is 6>><<replace "#line1" t8n>><<= "Hello? Hum.... Strange, no response.">><</replace>>\
<<elseif $vs is 8>><<replace "#line1" t8n>><<= "Take that!">><</replace>>\
<<else>><<replace "#line1" t8n>><<= "You can't do that.">><</replace>><</if>>\
<</widget>>
<<widget "room4">>\
<<if $vs is 1>><<replace "#line1" t8n>><<= "You can see sunlight coming the large chamber. It's the exit! You only have to cross this corridor.">><</replace>>\
<<elseif $vs is 2>>\
<<if $r3inv.includes("Hammer") and $ham is 1>><<out>><<set $room to 4>><<goto "Room4">><<else>><<out>><<set $room to 1>><<set $trap to 1>><<goto "Room1">><</if>>\
<<elseif $vs is 6>><<replace "#line1" t8n>><<= "Hello? Hum.... Strange, no response.">><</replace>>\
<<elseif $vs is 8>><<replace "#line1" t8n>><<= "Take that!">><</replace>>\
<<else>><<replace "#line1" t8n>><<= "You can't do that.">><</replace>><</if>>\
<</widget>>
<<widget "out">>\
<<switch $room>>\
<<case 1>><<set $r1inv to $roominv>>\
<<case 2>><<set $r2inv to $roominv>>\
<<case 3>><<set $r3inv to $roominv>>\
<<case 4>><<set $r4inv to $roominv>>\
<</switch>>\
<</widget>><<run UIBar.destroy()>>
<<set $vs to 1>>
<<set $room to 1>>
<<set $inv to ["Gauntlets of enlarge"]>>
<<set $r1inv to []>><<set $r2inv to ["Hammer"]>><<set $r3inv to []>><<set $r4inv to []>>
<<set $ham to 0>><<set $trap to 0>><<if $trap is 1>><<set $trap to 0>>You are not fast enough to cross the whole corridor before the walls close in, so you go back to the room to the south, and the walls in the corridor move back away.
<</if>>\
You are in a dim lighted <<link "room">><<room1>><</link>>. To the south is the <<link "door">><<door1>><</link>> you just came through. To the east you can see the passage to another <<link "room">><<room2>><</link>>, and to the north there is a <<link "corridor">><<room3>><</link>>. <<set $roominv to $r1inv>><span id="obj"><<obj>></span>
<span id="line1"></span>
<span id="verbs1"></span><span id="verbs2"></span><span id="inv1"></span><span id="inv2"></span><span id="me"></span>\
<<timed 0.05s>><<verbs>><</timed>>\The walls in this <<link "room">><<room2>><</link>> are almost completely filled with phosphorescent fungus, making it better lighted than the rest of this place. To the west you can see the passage to the previous <<link "room">><<room1>><</link>>. <<set $roominv to $r2inv>><span id="obj"><<obj>></span>
<span id="line1"></span>
<span id="verbs1"></span><span id="verbs2"></span><span id="inv1"></span><span id="inv2"></span><span id="me"></span>\
<<timed 0.05s>><<verbs>><</timed>>\You are in a narrow and dark stone <<link "corridor">><<room3>><</link>>. Further ahead to the north the corridor leads to a large underground <<link "chamber">><<room4>><</link>>. \
<span id="trap"><<= "As soon as you enter the room, the floor makes a click sound, and noisy mechanism is activated, moving the east and west walls closer together, and they are filled with corroded iron spikes. You won't be able to cross the whole extension of the corridor before being crushed. You have to think of something or move back away.">> </span><<set $roominv to $r3inv>><span id="obj"><<obj>></span>
<span id="line1"></span>
<span id="verbs1"></span><span id="verbs2"></span><span id="inv1"></span><span id="inv2"></span><span id="me"></span>\
<<timed 0.05s>><<verbs>><</timed>>\<<= "You positioned the huge hammer so it could stop the walls from moving in, and so you managed to cross the corridor. Congratulations, you've reached the exit of the underground abandoned dwarf fortress.">>
<<link "Restart">><<run Engine.restart()>><</link>>
<<link "Credits">><<run Dialog.setup("Credits"); Dialog.wiki(Story.get("Credits").processText()); Dialog.open()>><</link>>!A Sizable Adventure
Made by Janos Biro for the MashUp Game Jam, June 2020.